package com.zqq.baselibrary.injection.module

import android.content.Context
import com.zqq.baselibrary.common.BaseApplication
import dagger.Module
import dagger.Provides
import javax.inject.Singleton

/**
 * Application级别Module（全局Module）
 * @author zqq on 2018/7/26
 */
@Module
class AppModule(private val context: BaseApplication) {

    @Provides
    @Singleton
    fun providesContext(): Context {
        return this.context
    }

}